<div>
  <div class="modal-card">
    <label>
      上级分类
    </label>
    <d-cascader
      [options]="options"
      [(ngModel)]="data.pathPids"
      [dropdownPanelClass]="'custom-class'"
      [allowClear]="true"
      [canSelectParent]="true"
      class="form-input-box"
      (ngModelChange)="onChanges($event)"
      [showPath]="true"
    ></d-cascader>
  </div>
  <div class="modal-card mt-3">
    <label>
      分类名称
    </label>
    <input type="text" dTextInput class="form-input-box" name="name" [(ngModel)]="EquiomentCategory.equipmentCategoryName">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!EquiomentCategory.equipmentCategoryName">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      排序
    </label>
    <d-input-number [(ngModel)]="EquiomentCategory.priority" class="input-number" name="priority"></d-input-number>

</div>

